// 数据配置
const datas = {
	map_height: {
		title: "地图高度",
		type: "bar",
		value: 250,
		min: 200,
		max: 1000,
	},
	map_position: {
		title: "定位",
		type: "map",
		value: {
			address: '地址',
			lng: "",
			lat: "",
		}
	},
	show_address: {
		title: "地址是否显示",
		type: "switch",
		value: true
	},
	address_font_size: {
		title: "地址信息字体大小",
		type: "bar",
		value: 12,
		min: 12,
		max: 24,
	},
	address_font_color: {
		title: '地址文字颜色',
		type: 'color',
		value: '#ffffff',
	},
	show_business: {
		title: "公司名称是否显示",
		type: "switch",
		value: true
	},
	business_title: {title: "公司名称", type: "text", value: "公司名称"},
	business_font_size: {
		title: "公司字体大小",
		type: "bar",
		value: 14,
		min: 12,
		max: 24,
	},
	business_font_color: {
		title: "公司文字颜色",
		type: "color",
		value: "#ffffff"
	},
	bg_color: {
		title: "地址栏背景颜色",
		type: "color",
		value: "#5f5f5f"
	},
	icon_color: {
		title: "图标颜色",
		type: "color",
		value: "#ffffff"
	},
	icon_bg_color: {
		title: "图标背景颜色",
		type: "color",
		value: "#0090ff"
	},
	show_address_icon: {
		title: "导航图标",
		type: "switch",
		value: true
	},
	show_phone_icon: {
		title: "电话图标",
		type: "switch",
		value: true
	},
	phone_title: {title: "电话号码", type: "text", value: ""},
};

// 样式配置
const styles = {};

import template1 from './template1';

export const config = {
	datas,
	styles,
	layout: [
		template1
	]
};
